package com.tanhua.dubbo.api;


import com.tanhua.model.mongo.UserLocation;

import java.util.List;

public interface UserLocationApi {

    /*上报(更新)地理位置*/
    Boolean updateLocation(Long userId, Double longitude, Double latitude, String address);

    /*查寻附近用户*/
    List<Long> searchNearUser(Long userId, Double metre);

}
